package com.richard.main.ui.activity

import com.richard.base.ui.BaseVMActivity
import com.richard.main.R
import com.richard.main.ui.fragment.MainTabFragment
import com.richard.main.viewModel.MainActivityViewModelImpl

class MainActivity : BaseVMActivity<MainActivityViewModelImpl>() {

    override fun getLayoutResId() = R.layout.main_activity_main

    override fun initView() {
        if (findFragment(MainTabFragment::class.java) == null) {
            val mainFragment = MainTabFragment.newInstance()
            loadRootFragment(R.id.fl_content, mainFragment)
        }
    }

    override fun initData() {
    }

    override fun startObserve() {

    }


}
